package cn.com.dao;

import cn.com.domain.Customer;
import cn.com.domain.Room;

import java.util.List;

public interface RoomDao {
    List<Room> findroomByPage(int start, int rows);

    /**
     * 查询总记录数
     * @return
     */
    int findroomTotalCount();
    public List<Room> findAll();
    public Room findRoombyroom_id(int id);

    void delteRoombyid(String ruid);
    void alterCustomerbyid(Room room, String id);
    void addRoom(Room room);
    int alterRoomremainsrbyname(String name);
    int alterRoomremainsrbyname(String name,int num);
    int findRoomremainsrbyname(String name);
}
